package org.unicat.model;

public class UserInfo {
    private Integer id;
    private String username;
    private String password;
    private String sex;
    private String introduce;
    private Integer year;
    private Integer month;
    private Integer day;
    private String identity;
    private String major;

    public UserInfo() {
    }

    public UserInfo(Integer id, String username, String password, String sex, String introduce, Integer year, Integer month, Integer day, String identity, String major) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.introduce = introduce;
        this.year = year;
        this.month = month;
        this.day = day;
        this.identity = identity;
        this.major = major;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", introduce='" + introduce + '\'' +
                ", year=" + year +
                ", month=" + month +
                ", day=" + day +
                ", identity='" + identity + '\'' +
                ", major='" + major + '\'' +
                '}';
    }
}
